﻿/// <reference path="../common/_references.js" />
var rotation = {
    xspeed: 0,
    yspeed: 0,
    up: function () { },
    down: function () { },
    left: function () { },
    right: function () {
    },
    draw: function (upObjId, downObjId, leftObjId, rightObjId) {
        //绑定动作事件
        $("#" + upObjId).live(rotation.up);
        $("#" + downObjId).live(rotation.down);
        $("#" + leftObjId).live(rotation.left);
        $("#" + rightObjId).live(rotation.right);
        //
    }
};